using System;
using System.Collections.Generic;
using System.Text;

namespace Dll.Essences
{
    class PriceGroup
    {
        int id;
        string name;
        double min;
        double max;
        DateTime date;
        int userID;

        public PriceGroup()
        {

        }

        public PriceGroup(int Id,string Name,double Min,double Max,DateTime Date,int UserID)
        {
            id = Id;
            min = Min;
            max = Max;
            name = Name;
            date = Date;
            userID = UserID;
        }

        public int ID
        {
            set
            {
                id = value;
            }
            get
            {
                return id;
            }
        }

        public string Name
        {
            set
            {
                name = value;
            }
            get
            {
                return name;
            }
        }

        public double Min
        {
            set
            {
                min = value;
            }

            get
            {
                return min;
            }
        }

        public double Max
        {
            set
            {
                max = value;
            }

            get
            {
                return max;
            }
        }

        public DateTime Date
        {
            get
            {
                return date;
            }
            set
            {
                date = value;
            }
        }

        public int UserId
        {
            get
            {
                return userID;
            }
            set
            {
                userID = value;
            }
        }
    }
}
